<?php


namespace app\admins\controller;


use app\BaseController;
use think\facade\Db;
use think\facade\Request;
use think\facade\View;

class Reports extends BaseController
{
    protected $middleware = [\app\middleware\Check::class];
    public function index(){
        return view();

    }
    public function select(){
        $result = $Db = Db::name('book')->select();
        return json($result);
    }

}